#define  _CRT_SECURE_NO_WARNINGS 1pragma once
#include<iostream>
class Data {
public:
	int Getmonthdays(int year, int month)
	{
		static int days[13] = { 0,31,28,31,30,31,30,31,31,30,31,30,31 };
		int day = days[month];
		if (month == 2 && (year % 4 == 0 && year % 100 != 0))
		{
			day += 1;
		}
		return day;
	}




};